package com.weixing.mall.provider.model.dto.cms;

import com.weixing.mall.base.enums.IsEnableEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Author wx
 * @Date 2019/8/28 11:20
 * @Version 1.0
 */
@Data
public class SpareLinkAddrDto {
    @ApiModelProperty(value = "Id")
    private Long id;
    @ApiModelProperty(value = "启用/禁用")
    @NotNull(message = "请输入正确的状态")
    private IsEnableEnum isEnable;
    @ApiModelProperty(value = "链接地址")
    private String linkAddr;

}
